package edu.sandau.app.basic.mapper;

import edu.sandau.app.basic.domain.Dish;
import edu.sandau.app.basic.domain.DishExample;
import edu.sandau.app.basic.domain.DishWithBLOBs;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface DishMapper {
    long countByExample(DishExample example);

    int deleteByExample(DishExample example);

    int deleteByPrimaryKey(Long dishId);

    int insert(DishWithBLOBs row);

    int insertSelective(DishWithBLOBs row);

    List<DishWithBLOBs> selectByExampleWithBLOBs(DishExample example);

    List<Dish> selectByExample(DishExample example);

    DishWithBLOBs selectByPrimaryKey(Long dishId);

    int updateByExampleSelective(@Param("row") DishWithBLOBs row, @Param("example") DishExample example);

    int updateByExampleWithBLOBs(@Param("row") DishWithBLOBs row, @Param("example") DishExample example);

    int updateByExample(@Param("row") Dish row, @Param("example") DishExample example);

    int updateByPrimaryKeySelective(DishWithBLOBs row);

    int updateByPrimaryKeyWithBLOBs(DishWithBLOBs row);

    int updateByPrimaryKey(Dish row);
}